<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../../../css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/list.css"/>
		<script src="../../../js/jquery2.1.4.js"></script>

		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
		<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
		<link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.15.3/dist/bootstrap-table.min.css">
		<!-- Latest compiled and minified JavaScript -->
		<!-- Latest compiled and minified Locales -->

		<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
		<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
		<script src="../../../js/bootstrap-table.js"></script>
		<script src="../../../js/bootstrap-table-zh-CN.js"></script>
	</head>
	<body>
		<table id="express_list">
		</table>
		<script>
			$(function (){
				$("#express_list").bootstrapTable({
					url:"/user/findAll.do",//数据地址
					striped:"true",//是否显示行的间隔
					pageNumber:1,//初始化加载第几页
					pagination:true,//是否分页
					sidePagination:'server',//服务器分页
					pageSize:5,
					pageList:[5,10,20,50],
					showRefresh:true,
					queryParams:function (params){
						var temp={
							offset:params.offset,
							pageNumber: params.limit
						}
						return temp;
					},
					columns:[
						{
							title:"编号",
							field:"id",
							sortable:false
						},
						{
							title:"昵称",
							field:"name",
							sortable:false
						},
						{
							title:"手机号码",
							field:"userPhone",
							sortable:false
						},
						{
							title:"密码",
							field:"password",
							sortable:false
						},
						{
							title:"注册时间",
							field:"createtime",
							sortable:false
						},
						{
							title:"上次登陆时间",
							field:"logintime",
							sortable:false
						}
					]
				})
			})
		</script>
	</body>
</html>
